home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / answrbok / 7_10.lha / 7_10 / 7_10pr1.h < prev    next >
Text File  |  1993-08-08  |  633b  |  18 lines

  1. * Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
  2. * The C++ Answer Book */
  3. * Tony Hansen */
  4. * All rights reserved. */
  5. / class process private data
  6. / private:
  7.    // process state data
  8.    long t_result;            // value to be returned
  9.    int t_priority;            // process priority
  10.    unsigned long t_desiredtime;    // for sleep()
  11.    process_states t_curstate;        // current state of process
  12.    process *t_next;            // for chaining processes
  13.  
  14.    // data for the stack swapping
  15.    char *t_stack;            // the place to save the stack
  16.    unsigned t_stacksize;        // the amount of stack saved
  17.    jmp_buf t_jb;            // for setjmp()/longjmp()
  18.